{% extends "base.html" %}

{% block title %}Strona główna {% endblock %}

{%block content%}
<h2>Welcome to PenTester auditing tool</h2>
<p>PenTester is an automated remote secuurity auditing tool. It's based on Metasploit
   framework and some other additional security utilities.</p>
<hr>
 <h2>Performing an audit</h2>
 <p>
 To perform a security audit please choose network interface over which audit should be run:<br/>
 {% if ifacelist %}
  <form action="/scan/" method="POST">
  <select name="iface">
  {% for iface in ifacelist %}
    <option value="{{ iface.name }}">{{iface.name}} <span style="color:red">{{iface.ip}}/{{iface.mask}}</span></option>
  {% endfor %}
  </select>
  <input type="submit" value="-> Start scanning interface">
  </form>
 {% endif %} 
 </p>
 or: <br>
 <form action="/scan/net/" method="POST">
 	<label for="netid">IP Network</label>
 	<input type="text" name="address" size="18" id="netid">
 	<input type="submit" value="Scan IP Network">
 </form> 
 {% endblock %}

{% block box %}
{% endblock %}

